package com.itqian.system.form;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.Size;

/**
 * @author shishuqian
 * date 2022/3/25
 * time 17:22
 **/
@Data
public class PhoneLoginForm {

    @NotBlank
    private String phone;

    @NotBlank
    @Size(min = 4,max = 6,message = "验证码错误")
    private String code;

    private String role;
}
